package cn.lili.modules.system.entity.dos;

import cn.lili.mybatis.model.BaseStandardEntity;
import com.baomidou.mybatisplus.annotation.IdType;

import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 供应商激活码申请记录表
 * </p>
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("li_vip_apply")
@ApiModel(value="LiVipApply", description="供应商激活码申请记录表")
public class LiVipApply  extends BaseStandardEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "申请时间")
    @TableField("apply_time")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date applyTime;

    @ApiModelProperty(value = "申请人（供应商端记得只查看自己的申请记录）")
    @TableField("apply_supplier_id")
    private String applySupplierId;

    @ApiModelProperty(value = "申请人名称")
    @TableField("apply_supplier_name")
    private String applySupplierName;

    @ApiModelProperty(value = "申请数量")
    @TableField("apply_num")
    private Integer applyNum;

    @ApiModelProperty(value = "申请时长")
    @TableField("time_type")
   private Integer timeType;

    @ApiModelProperty(value = "申请状态：1待审核，2审核通过，3审核驳回。字典：apply_status")
    @TableField("apply_status")
    private Integer applyStatus;

    @ApiModelProperty(value = "驳回原因")
    @TableField("remark")
    private String remark;

    @ApiModelProperty(value = "备注")
    @TableField("message")
    private String message;

}
